from typing import Any, List, Mapping, Optional
from pydantic import Field
from pydantic import BaseModel, Field


class ButlerTeamState(BaseModel):
    """
    团队状态。
    用于存储团队中所有代理的状态。
    """
    agent_states: Mapping[str, Any] = Field(default_factory=lambda: dict)
    type: str = Field(default="ButlerTeamState")
    version: str = Field(default="1.0.0")
